:root {
  --rv-notice-bar-font-size: 0.75rem;
  --rv-notice-bar-icon-size: 14px;
}

.partner {
  background: var(--rv-white);
}

.partner-header {
  padding: 14px var(--rv-container);
  background-image: linear-gradient(to bottom, #f3edff, #f8f5ff);
  box-shadow: 0 5px 8px rgba(0, 0, 0, 0.05);
  .back {
    height: 32px;
    margin-right: 10px;
    .icon-back {
      color: var(--rv-gray-6);
      padding: 6px;
    }
  }
  .nickname {
    margin: 0;
  }
  .partner-auth {
    font-size: 0.75rem;
    color: var(--rv-white);
    text-align: center;
    height: 18px;
    background: var(--rv-purple);
    margin-left: 5px;
    padding: 1px 6px !important;
    border-radius: 9px;
  }
}

.partner-swiper {
  position: relative;
  background: var(--rv-black);
  .partner-swiper-item {
    height: 25rem;
    will-change: transform;
    text-align: center;
    overflow: hidden;
    .photo img {
      height: 25rem;
    }
  }
  .custom-indicator {
    font-size: 0.75rem;
    color: #fff;
    padding: 2px 6px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    position: absolute;
    right: var(--rv-container);
    bottom: 40px;
    span {
      position: relative;
      top: -2px;
      font-size: 0.5rem;
      opacity: 0.75;
    }
  }
  .follow {
    color: var(--rv-white);
    position: absolute;
    left: var(--rv-container);
    bottom: var(--rv-container);
    .like {
      min-width: 6rem;
    }
  }
  .ip {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--rv-white);
    position: absolute;
    right: var(--rv-container);
    bottom: var(--rv-container);
  }
  .swiper-video {
    position: relative;
    .big-video {
      width: 100%;
      height: 25rem;
      object-fit: cover;
    }
    .big-play-btn {
      position: absolute;
      top: 50%;
      left: 50%;
      margin-left: -24px;
      margin-top: -24px;
    }
  }
}

.partner-info {
  font-size: 0.85rem;
  margin: 10px 0;
  .partner-id {
    font-size: 0.85rem;
    color: var(--rv-gray-5);
    margin-left: 8px;
  }
  .info {
    color: var(--rv-gray-6);
    padding-left: 24px;
    span {
      color: var(--rv-gray-4);
      margin: 0 5px;
    }
  }
  .tags {
    padding-left: 24px;
  }
  .intro {
    line-height: 1.5rem;
    padding-left: 24px;
    a {
      color: var(--rv-purple-dark);
    }
  }
}

.photo-list {
  max-width: 100vw;
  padding: 0 0 5px;
  overflow-x: scroll;
  overflow-y: hidden;
  white-space: nowrap;
  scrollbar-width: none;
  overscroll-behavior: contain;
  .photo-item {
    display: inline;
    img {
      width: 100px;
      height: 150px;
      border-radius: 6px;
    }
  }
}

.video-box {
  position: relative;
  display: inline;
  .video {
    width: 100px;
    height: 150px;
    background: var(--rv-gray-3);
    border-radius: 6px;
    object-fit: cover;
  }
  .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -16px;
    margin-top: -16px;
  }
}

.partner-notice {
  font-size: var(--rv-font-size-md);
  margin-bottom: 20px;
  padding: 0 10px;
  background: var(--rv-gray-1);
  border-radius: 8px;
}